using UnityEngine;
using System.Collections;

public class UtilsDebug {
	
	public static void DrawRect(Rect r, Color c){
		Debug.DrawLine(new Vector3(r.xMin,r.yMin,0),new Vector3(r.xMax,r.yMin,0),c);	
		Debug.DrawLine(new Vector3(r.xMax,r.yMin,0),new Vector3(r.xMax,r.yMax,0),c);	
		Debug.DrawLine(new Vector3(r.xMax,r.yMax,0),new Vector3(r.xMin,r.yMax,0),Color.blue);	
		Debug.DrawLine(new Vector3(r.xMin,r.yMax,0),new Vector3(r.xMin,r.yMin,0),c);	
	}
	
}

